package uestc.lj.gulishop.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import uestc.lj.common.utils.PageUtils;
import uestc.lj.gulishop.ware.entity.PurchaseEntity;
import uestc.lj.gulishop.ware.vo.MergeVO;
import uestc.lj.gulishop.ware.vo.PurchaseDoneVO;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author crazlee
 * @email peterlee0@163.com
 * @date 2021-05-21 19:33:02
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageUnreceivePurchase(Map<String, Object> params);

    void mergePurchase(MergeVO mergeVO);

    void received(List<Long> purchaseIds);

    void done(PurchaseDoneVO purchaseDoneVO);

}

